import { http } from '@/utils/http'

/**
 * 获取疫苗接种信息
 */
export const getVaccineInfoAPI = () => {
  return http({
    method: 'GET',
    url: '/api/vaccination-site/list',
  })
}

/**
 * 提交预约
 */
export const submitAppointmentAPI = (data) => {
  return http({
    method: 'POST',
    url: '/api/appointment/create',
    data
  })
}